/**
 * Copyright 2007-2008. Chongqing First Information & Network Co., Ltd. All
 * rights reserved. <a>http://www.cqfirst.com.cn</a>
 */
package com.cqcis.uip.base.impl;

import java.util.Date;
import java.util.Properties;

import com.cqcis.uip.base.UipInterface;



/**
 * @author huangmy
 * @date   2007-11-23
 */
public class BaseUipInterface implements UipInterface {
    private long doneCount;
    private long errorCount;
    private String name;
    private Properties properties = new Properties();
    private Date startTime;
    private boolean running;
    
	public void incrementDoneCount() {
		this.doneCount ++;
	}

	public void incrementErrorCount() {
		this.errorCount ++;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public void setRunning(boolean running) {
		this.running = running;
	}

	public long getDoneCount() {
		return doneCount;
	}

	public long getErrorCount() {		
		return errorCount;
	}

	public String getName() {		
		return name;
	}

	public Properties getProperties() {
		return properties;
	}

	public Date getStartTime() {		
		return startTime;
	}

	public boolean isRunning() {		
		return running;
	}    
}
